<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>test</title>
		<meta name="Hamza Bentebbaa" content="Drop down menu bar" />
		
		<style>
			#nav {
				float: left;
				margin: 10px;
				position: relative;
				width: 100%;
				
			}
			#nav li {	
				background-color: LightGreen;	
				list-style: none;			
				margin-right:10px;
				float:left;
				position: relative;
				
			}
			#nav ul {
				list-style:none;
				position:absolute;
				left:-9999px;						
			}
			#nav ul li {
				
				padding-top: 1px; 
				float: none;
				
			}
			#nav a:hover {
				text-decoration: underline;
				color: black;
			}
			#nav li:hover ul{
				left:0;
			}
			#nav a {
				display: block;
				padding: 5px;
				color: blue;
				background: #90EE90; /*light green*/
				text-decoration: none;
			}
		</style>
	</head>
	<body>
<ul id="nav">
	<li> <a href="#">home</a>
		<ul>
			<li><a href="#">  one </a> </li>
			<li> <a href="#"> two </a> </li>
		</ul>	
	</li>
	<li> <a href="#"> contact</a>
		<ul>
			<li><a href="#"> one</a> </li>
			<li><a href="#"> two</a> </li>
			<li><a href="#"> three </a> </li>
		</ul>
	</li>
</ul>
	</body>
</html>

